From 813cc348571603e6325ef9fdd4f7698093faa9d5 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Fri, 29 Jan 2016 17:48:45 +0100 Subject: [PATCH] Adwaita: fix border radius on #editor-color-sample --- gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 09e8558369..fd1e7dc6d9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3452,6 +3452,12 @@ colorswatch { } row:selected & { box-shadow: 0 0 0 2px $selected_fg_color; } + + &#editor-color-sample { + border-radius: 4px; + + overlay { border-radius: 4.5px; } + } } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 148c4c1ab0..6371eb748d 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -4433,6 +4433,10 @@ colorswatch:disabled { box-shadow: none; } row:selected colorswatch { box-shadow: 0 0 0 2px #ffffff; } +colorswatch#editor-color-sample { + border-radius: 4px; } + colorswatch#editor-color-sample overlay { + border-radius: 4.5px; } /******** * Misc * diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index a370d712a4..8ad2d2b52b 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -4574,6 +4574,10 @@ colorswatch:disabled { box-shadow: none; } row:selected colorswatch { box-shadow: 0 0 0 2px #ffffff; } +colorswatch#editor-color-sample { + border-radius: 4px; } + colorswatch#editor-color-sample overlay { + border-radius: 4.5px; } /******** * Misc * -- 2.30.2